//
//  prox.h
//  prototipo1Movies
//
//  Created by mayraDonaji on 9/25/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DBDelegate.h"



@interface prox : UIViewController <UIScrollViewDelegate> {

	UIButton *top, *search, *noticias, *inicio, *help;
	
	// - For the movies images
	DBDelegate * input;
	UIScrollView* scrollView;
	UIPageControl* pageControl;
	BOOL pageControlIsChangingPage;
	UIFont* font;
	
	IBOutlet UIView * bajar;
	
	
}


@property (nonatomic, retain) IBOutlet UIButton * top;
@property (nonatomic, retain) IBOutlet UIButton * search;
@property (nonatomic, retain) IBOutlet UIButton * noticias;
@property (nonatomic, retain) IBOutlet UIButton * inicio;
@property (nonatomic, retain) IBOutlet UIButton * help;
@property (nonatomic, retain) IBOutlet UIScrollView * scrollView;
@property (nonatomic, retain) IBOutlet UIPageControl * pageControl;

@property (nonatomic, retain) DBDelegate * input;
@property IBOutlet BOOL pageControlIsChangingPage;

-(IBAction) top :(id)sender;
-(IBAction) search :(id)sender;
-(IBAction) noticias :(id)sender;
-(IBAction) inicio :(id)sender;
-(IBAction) help :(id)sender;


/* for pageControl */
- (IBAction)changePage:(id)sender;

/* internal */
- (void)setupPage;

@end